package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.text.NxLabel;

	/**
	 * 通用结算界面 
	 * @author liuel
	 * 
	 */	
	public class CurrencyResultUI extends BaseUI
	{
		private static var _self			:CurrencyResultUI;
		public  var 		mc				:MovieClip;
		public  var 		label			:NxLabel;
		public  var 		okBtn			:NxButton;
		public  var		btn1			:NxButton; 
		public  var		btn2			:NxButton; 
		public  var		btn3			:NxButton; 
		public  var        back1           :MovieClip;
		public  var        back2           :MovieClip;
		public function CurrencyResultUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		public static function getInstance():CurrencyResultUI
		{
			if(_self == null)
			{
				_self = new CurrencyResultUI();
			}
			return _self;
		}
		
		override public function  Init():void
		{
			btn1.visible =false;
			btn2.visible = false;
			CurrencyResultLogic.getInstance().Init();
		}
		override protected function	BeforeShow():void
		{
			super.BeforeShow();
			
			CurrencyResultLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			CurrencyResultLogic.getInstance().AfterHide();
		}
	}
}